#ifndef __TF_IDF__
#define __TF_IDF__

#include <map>
#include <unordered_map>
#include <string>

using std::map;
using std::unordered_map;
using std::string;

class TF_IDF
{
public:
    TF_IDF(int);
    unordered_map<string, map<int, long double>> operator()
        (const unordered_map<string, map<int, int>> & wordmap, const map<int,int> & wordnum);

private:
    int _totaldoc;
    //unordered_map<string, map<int, int>> _wordmap;
};

#endif
